package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.utils.ElderlyHealthResponseData;
import org.example.utils.FamilyUpdateRequest;

import java.util.List;

/**
 * ClassName: FamilyMapper
 * Description:
 *
 * @Author Kotaro
 * @Create 2024/12/2 11:17
 * @Version 1.0
 */
@Mapper
public interface FamilyMapper {
//    List<ElderlyHealthResponseData> selectElderlyHealthByFamilyId(String familyId);

    boolean isElderlyBoundToFamily(@Param("familyId") String familyId, @Param("elderlyId") String elderlyId);

    int updateFamilyByFamilyId(FamilyUpdateRequest familyUpdateRequest);
}
